<%@ page language="java" pageEncoding="UTF-8"%><!DOCTYPE html>
<html>
<head>
<title>添加用户</title>
<jsp:include page="/admin/head.jsp"></jsp:include>
</head>
<body>
	<jsp:include page="/admin/header.jsp"></jsp:include>
	<jsp:include page="/admin/left-menu.jsp"></jsp:include>
	<jsp:include page="/admin/footer.jsp"></jsp:include>
	<section>
		<nav aria-label="breadcrumb">
			<ol class="breadcrumb">
				<li class="breadcrumb-item">管理首页</li>
				<li class="breadcrumb-item">系统中心</li>
				<li class="breadcrumb-item">用户管理</li>
				<li class="breadcrumb-item active">添加用户</li>
			</ol>
		</nav>

		<div class="card container-md">
			<div class="card-body">
				<form name="regForm" action="admin/user-add.let" method="POST">
					<div class="form-group row">
						<label class="col-sm-3 col-form-label text-right"><b
							class="text-danger">*</b>用户名</label>
						<div class="col-sm-9">
							<input required="required" pattern="^[a-zA-Z]\w{2,19}$"
								name="userName" type="text" placeholder="由3到20个单词字符组成"
								title="由3到20个单词字符组成" class="form-control" value="">
						</div>
					</div>

					<div class="form-group row">
						<label class="col-sm-3 col-form-label text-right"><b
							class="text-danger">*</b>密码</label>
						<div class="col-sm-9">
							<input required="required" name="userPassword" type="password"
								placeholder="由3到20个字符组成" title="由3到20个字符组成" class="form-control"
								value="">
						</div>
					</div>

					<div class="form-group row">
						<label class="col-sm-3 col-form-label text-right"><b
							class="text-danger">*</b>密码确认</label>
						<div class="col-sm-9">
							<input required="required" name="userPwdConfirm" type="password"
								placeholder="两次输入密码一致" class="form-control" value="">
						</div>
					</div>
					<div class="form-group row">
						<label class="col-sm-3 col-form-label text-right"><b
							class="text-danger">*</b>昵称</label>
						<div class="col-sm-9">
							<input required="required" name="userNickname" type="text"
								pattern="^[\u4100-\u9fa5]{2,8}$" placeholder="由2到8个汉字组成"
								title="由2到8个汉字组成" class="form-control" value="">
						</div>
					</div>

					<div class="form-group row">
						<label class="col-sm-3 col-form-label text-right"><b
							class="text-danger">*</b>性别</label>
						<div class="col-sm-9 pt-2">
							<label class="mr-2"><input type="radio" name="userSex"
								value="男" checked="checked">男</label> <label class="mr-2">
								<input type="radio" name="userSex" value="女">女
							</label>
						</div>
					</div>

					<div class="form-group row">
						<label class="col-sm-3 col-form-label text-right">出生日期</label>
						<div class="col-sm-9">
							<input type="date" name="userBrithdate" class="form-control"
								style="width: auto;" />
						</div>
					</div>

					<div class="form-group row">
						<label class="col-sm-3 col-form-label text-right">电话</label>
						<div class="col-sm-9">
							<input name="userPhone" type="tel" placeholder="有11位数字组成"
								class="form-control" value="">
						</div>
					</div>

					<div class="form-group row">
						<label class="col-sm-3 col-form-label text-right">邮箱</label>
						<div class="col-sm-9">
							<input name="userQq" type="text" placeholder="邮箱"
								class="form-control" value="">
						</div>
					</div>

					<div class="form-group row">
						<div class="col-sm-9 offset-sm-3">
							<button class="btn btn-primary">
								<i class="fa fa-plus mr-1"></i> 添加用户
							</button>
						</div>
					</div>

				</form>
			</div>
		</div>
	</section>
</body>
</html>